package com.hyt.it.ogt.kq.service.gov.job;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 统计任务
 * 
 * @author liuq
 * @since 2021-04-15
 */
@Component
@Slf4j
public class StatisticsJob {
	
	/**
	 * 测试任务
	 */
	@XxlJob("testJob")
    public void testJob() throws Exception {
        log.info("执行测试任务");
        XxlJobHelper.log("执行测试任务成功");
    }

}
